package org.jeecg.modules.monitoring.j_monitoring.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 低压配电柜
 * @Author: xiaoyq
 * @Date:   2023-02-23
 * @Version: V1.0
 */
@Data
@TableName("m_gl_distribution")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="低压配电柜", description="低压配电柜")
public class MGlDistribution implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id;主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id;主键")
    private java.lang.String id;
	/**设备名称*/
	@Excel(name = "设备名称", width = 15)
    @ApiModelProperty(value = "设备名称")
    private java.lang.String name;
	/**设备型号*/
	@Excel(name = "设备型号", width = 15)
    @ApiModelProperty(value = "设备型号")
    private java.lang.String model;
	/**设备序列号*/
	@Excel(name = "设备序列号", width = 15)
    @ApiModelProperty(value = "设备序列号")
    private java.lang.String productId;
	/**额定电压(V)*/
	@Excel(name = "额定电压(V)", width = 15)
    @ApiModelProperty(value = "额定电压(V)")
    private java.lang.String voltageStrategy;
	/**额定频率(Hz)*/
	@Excel(name = "额定频率(Hz)", width = 15)
    @ApiModelProperty(value = "额定频率(Hz)")
    private java.lang.String powerStrategy;
	/**使用状态*/
	@Excel(name = "使用状态", width = 15, dicCode = "j_syzt")
	@Dict(dicCode = "j_syzt")
    @ApiModelProperty(value = "使用状态")
    private java.lang.String usageStatus;
	/**设备用途*/
	@Excel(name = "设备用途", width = 15, dicCode = "j_sbyt")
	@Dict(dicCode = "j_sbyt")
    @ApiModelProperty(value = "设备用途")
    private java.lang.String purpose;
	/**品牌(制造)商*/
	@Excel(name = "品牌(制造)商", width = 15)
    @ApiModelProperty(value = "品牌(制造)商")
    private java.lang.String deviceProducer;
	/**供应商*/
	@Excel(name = "供应商", width = 15)
    @ApiModelProperty(value = "供应商")
    private java.lang.String deviceSupplier;
	/**维保商*/
	@Excel(name = "维保商", width = 15)
    @ApiModelProperty(value = "维保商")
    private java.lang.String deviceExpiry;
	/**资产编号*/
	@Excel(name = "资产编号", width = 15)
    @ApiModelProperty(value = "资产编号")
    private java.lang.String assetNo;
	/**合同编号*/
	@Excel(name = "合同编号", width = 15)
    @ApiModelProperty(value = "合同编号")
    private java.lang.String contractNo;
	/**设备编号*/
	@Excel(name = "设备编号", width = 15)
    @ApiModelProperty(value = "设备编号")
    private java.lang.String equipmentNo;

	//@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
	//@Excel(name = "责任人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
	/**责任人*/
	@Excel(name = "责任人", width = 15)
	@ApiModelProperty(value = "责任人")
	private java.lang.String personLiable;

	@ApiModelProperty(value = "责任人id")
	private java.lang.String personLiableId;
	/**投产时间*/
	@Excel(name = "投产时间", width = 15)
    @ApiModelProperty(value = "投产时间")
    private java.lang.String productionDate;
	/**维保开始时间*/
	@Excel(name = "维保开始时间", width = 15)
    @ApiModelProperty(value = "维保开始时间")
    private java.lang.String installDate;
	/**维保结束时间*/
	@Excel(name = "维保结束时间", width = 15)
    @ApiModelProperty(value = "维保结束时间")
    private java.lang.String expiryDateOfMaintenance;
	/**报废年限*/
	@Excel(name = "报废年限", width = 15)
    @ApiModelProperty(value = "报废年限")
    private java.lang.String scrapLife;
	/**是否监测*/
	@Excel(name = "是否监测", width = 15, dicCode = "j_sfjc")
	@Dict(dicCode = "j_sfjc")
    @ApiModelProperty(value = "是否监测")
    private java.lang.String whetherToMonitor;
	/**所属区域*/
	@Excel(name = "所属区域", width = 15)
    @ApiModelProperty(value = "所属区域")
    private java.lang.String region;
	/**所属机房*/
	@Excel(name = "所属机房", width = 15)
    @ApiModelProperty(value = "所属机房")
    private java.lang.String machineRoom;

	/**所属机房Id*/
	@ApiModelProperty(value = "所属机房Id")
	private java.lang.String machineRoomId;

	/**位置描述*/
	@Excel(name = "位置描述", width = 15)
    @ApiModelProperty(value = "位置描述")
    private java.lang.String locationDescription;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remarks;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;

	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "更新时间")
	private java.util.Date updateTime;

	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private java.lang.String createBy;

	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private java.lang.String updateBy;
}
